﻿<UserControl x:Class="Cs.Multilingual.LangControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Border BorderBrush="#FF0096FF" BorderThickness="0,2" Background="#FFE4E4E4">
        <Grid x:Name="All">
            <Label Content="Language" HorizontalAlignment="Left" VerticalAlignment="Top"/>
            <TextBox x:Name="LangName" Height="23" Margin="67,3,113,0" TextWrapping="NoWrap" Text="" VerticalAlignment="Top" TextChanged="LangName_TextChanged"/>
            <CheckBox x:Name="Rtl" Content="Right To Left" Margin="0,6,20,0" VerticalAlignment="Top" HorizontalAlignment="Right" Width="88"  Click="Rtl_OnClick" IsEnabled="False"/>
            <Button x:Name="Create" Content="Create" Margin="0,3,10,0" HorizontalAlignment="Right" Width="98" Height="23" VerticalAlignment="Top" Click="Create_Click"/>

            <TextBox x:Name="ContentValue" Margin="0,31,0,40" TextWrapping="Wrap" Text="" FontSize="14" MinHeight="50"/>

            <Label Content="ID" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="0,0,0,7"/>
            <TextBox x:Name="Id" Margin="43,0,90,10" TextWrapping="NoWrap" Text="" Height="20" VerticalAlignment="Bottom" TextChanged="Id_TextChanged"/>
            <Button Content="Record" Margin="0,0,10,10" HorizontalAlignment="Right" Width="75" Height="20" VerticalAlignment="Bottom" Click="Button_Click"/>


        </Grid>
    </Border>
</UserControl>
